package com.cn.intelligence.resetful.service;

import java.util.List;
import java.util.Map;

import com.cn.intelligence.pojo.TaotaoResult;
import com.cn.intelligence.pojo.TbCart;
import com.cn.intelligence.pojo.TbOrder;
import com.cn.intelligence.pojo.Vip;
/**
 * 购物车信息
 * @author Administrator
 *
 */
public interface ShoppingService {
	 // 向购物车添加商品
	TaotaoResult saveCart(TbCart tbCart) throws Exception;

	 Map<String, Object> getCartlist(Long userid);

	 TaotaoResult deleteUserCart(Long cardId);

	 Map<String, Object> getBuyCat(String cart_id, Long uid);

	TbOrder addpayment(TbOrder tborder) throws Exception;

	TbCart updateCart(TbCart tbCart);
	
	List<Vip> setVipInfo(Vip vip);
	
	List<Vip> setNewVipInfo(Vip vip);	

	List<Vip> getVipInfo(Vip vip);

}
